Missing Controller
Kļūda:
LoginController could not be found.
Kļūda:
Create the class LoginController below in file: app/controllers/login_controller.php
<?php
class LoginController extends AppController {
var $name = 'Login';
}
?>
Notice:
If you want to customize this error message, create app/views/errors/missing_controller.ctp
Errors
Notice (8): Undefined variable: cms [APP/views/elements/head.ctp, line 13]Code |
Context <meta name="author" content="<?php echo h(Configure::read('Meta.author'))?>" />
<?php echo $cms->meta('keywords')?>
$___viewFn = "/home/private/koknesesfonds/htdocs/app/views/elements/head.ctp"
$___dataForView = array(
"controller" => "LoginController",
"controllerName" => "Login",
"title" => "Missing Controller",
"title_for_layout" => "Errors",
"css_for_layout" => "",
"form" => FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = NULL
FormHelper::$webroot = NULL
FormHelper::$theme = NULL
FormHelper::$here = NULL
FormHelper::$params = array
FormHelper::$action = NULL
FormHelper::$plugin = NULL
FormHelper::$data = array
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object,
"html" => HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = NULL
HtmlHelper::$webroot = NULL
HtmlHelper::$theme = NULL
HtmlHelper::$here = NULL
HtmlHelper::$params = array
HtmlHelper::$action = NULL
HtmlHelper::$plugin = NULL
HtmlHelper::$data = array
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL,
"session" => SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "3c0e4c8d4dc05e01982f17f4b2f91de4"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1730416116
SessionHelper::$sessionTime = 1730417556
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = NULL
SessionHelper::$webroot = NULL
SessionHelper::$here = NULL
SessionHelper::$params = array
SessionHelper::$action = NULL
SessionHelper::$data = array
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
)
$loadHelpers = false
$cached = false
$loadedHelpers = array()
$controller = "LoginController"
$controllerName = "Login"
$title = "Missing Controller"
$title_for_layout = "Errors"
$css_for_layout = ""
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = NULL
FormHelper::$webroot = NULL
FormHelper::$theme = NULL
FormHelper::$here = NULL
FormHelper::$params = array
FormHelper::$action = NULL
FormHelper::$plugin = NULL
FormHelper::$data = array
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = NULL
HtmlHelper::$webroot = NULL
HtmlHelper::$theme = NULL
HtmlHelper::$here = NULL
HtmlHelper::$params = array
HtmlHelper::$action = NULL
HtmlHelper::$plugin = NULL
HtmlHelper::$data = array
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "3c0e4c8d4dc05e01982f17f4b2f91de4"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1730416116
SessionHelper::$sessionTime = 1730417556
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = NULL
SessionHelper::$webroot = NULL
SessionHelper::$here = NULL
SessionHelper::$params = array
SessionHelper::$action = NULL
SessionHelper::$data = array
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
include - APP/views/elements/head.ctp, line 13
View::_render() - CORE/cake/libs/view/view.php, line 731
View::element() - CORE/cake/libs/view/view.php, line 392
include - APP/views/layouts/default.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 731
View::renderLayout() - CORE/cake/libs/view/view.php, line 489
View::render() - CORE/cake/libs/view/view.php, line 435
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 458
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 206
Object::dispatchMethod() - CORE/cake/libs/object.php, line 112
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 199
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 125
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/layouts/error.ctp, line 15
View::_render() - CORE/cake/libs/view/view.php, line 731
View::renderLayout() - CORE/cake/libs/view/view.php, line 489
Fatal error: Call to a member function meta() on a non-object in
/home/private/koknesesfonds/htdocs/app/views/elements/head.ctp on line
13